//
//  CTTabBarView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/6/5.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    CTTabBarViewTypeCamera = 1,
    CTTabBarViewTypeHome,
    CTTabBarViewTypeDiscovery,
    CTTabBarViewTypeMessage,
    CTTabBarViewTypeUserProfile
}CTTabBarViewType;

@protocol CTTabBarViewDelegate;

@interface CTTabBarView : UIView

@property(nonatomic,assign)id<CTTabBarViewDelegate>delegate;

-(void)selectIndex:(NSInteger)index;
-(void)notiCount;

@end


@protocol CTTabBarViewDelegate <NSObject>

-(void)selectAction:(CTTabBarView *)view
           withType:(CTTabBarViewType)type;

@end